package com.jr.service;

import com.jr.entry.BookInfo;
import com.jr.entry.Users;
import com.jr.pojo.IsBorrwo;
import com.jr.pojo.BookType;
import com.jr.util.PageHelper;

import java.util.ArrayList;
import java.util.List;

public interface UsersService {
    public Users login(Users users);
    public List<BookInfo> findBookInfo(BookInfo bookInfo);
    public List<IsBorrwo> findByIsBorrwo();
    public List<BookType> findByBookType();
    public boolean addBookInfo(BookInfo bookInfo);
    public boolean updateBookInfo(BookInfo bookInfo);
    public boolean removeBookInfo(String book_code);
    public ArrayList<BookInfo> findBookInfoByQueryAndIndex(BookInfo bookInfo, PageHelper pageHelper);
}
